<#escape x as (x)!> <#include "basenosidebar.ftl"/> <#macro title> ${config.blogTitle}-豆瓣 </#macro> <#macro scripts>
<link rel="stylesheet" type="text/css" href="/styles/douban.css" />
</#macro> <#macro main>
<div class=doubanContainer>
	<div class=discriptionBar onclick="$('#movies').slideToggle('#slow');">
		我看.....................................(${movieCollection.totalResults}部)
	</div>
	<div id="movies" class="collection">
		<#list movieCollection.entryList as entry>
		<div class="entry">
			<div class="entry_img">
				<img src=${entry.subject.image} title="${entry.summary!}"></img>
			</div>
			<div class="entry_info">
				<a class=title title="${entry.summary!}" href="${entry.subject.link!}">${entry.subject.title}</a>
				<br />
				<#if entry.subject.cnTitle?exists>中文名：${entry.subject.cnTitle}
				<br />
				</#if>
				<span class="rating star${entry.rating}">&nbsp;</span> <#list entry.tagList as tag> ${tag}<#if tag_has_next>,</#if> </#list>
			</div>
		</div>
		</#list>
		<div style="clear: both;"></div>
	</div>

	<div class=discriptionBar onclick="$('#books').slideToggle('#slow');">
		我读.....................................(${bookCollection.totalResults}本)
	</div>
	<div id="books" class="collection">
		<#list bookCollection.entryList as entry>
		<div class="entry">
			<div class="entry_img">
				<img src=${entry.subject.image} title="${entry.summary!}"></img>
			</div>
			<div class="entry_info">
				<a class=title title="${entry.summary!}" href="${entry.subject.link!}">${entry.subject.title}</a>
				<br />
				<#list entry.subject.authorList as author> ${author}<#if author_has_next>,</#if> </#list>
				<span class="rating star${entry.rating}">&nbsp;</span> <#list entry.tagList as tag> ${tag}<#if tag_has_next>,</#if> </#list>
			</div>
		</div>
		</#list>
		<div style="clear: both;"></div>
	</div>

	<div class=discriptionBar onclick="$('#musics').slideToggle('#slow');">
		我听.....................................(${musicCollection.totalResults}首)
	</div>
	<div id="musics" class="collection">
		<#list musicCollection.entryList as entry>
		<div class="entry">
			<div class="entry_img">
				<img src=${entry.subject.image} title="${entry.summary!}"></img>
			</div>
			<div class="entry_info">
				<a class=title title="${entry.summary!}" href="${entry.subject.link!}">${entry.subject.title}</a>
				<br />
				<#if entry.subject.cnTitle?exists>${entry.subject.cnTitle}
				<br />
				</#if>
				<span class="rating star${entry.rating}">&nbsp;</span> <#list entry.tagList as tag> ${tag}<#if tag_has_next>,</#if> </#list>
			</div>
		</div>
		</#list>
		<div style="clear: both;"></div>
	</div>
</div>
</#macro> </#escape>
